package com.ehome.poct.core.dao.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ehome.mybatisplus.autoconfigure.BaseEntityOld;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 检测订单检测记录
 *
 * @author muqiu
 * @Date 2022-10-11 13:41
 */
@TableName("test_order_check_record")
@Data
public class TestOrderCheckRecordDO extends BaseEntityOld<TestOrderCheckRecordDO> {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    
         /**
         * 主键id
         * 
         */
        @TableId
        private Long testOrderCheckRecordId;
        /**
         * 诊所id
         *
         */
        @TableField(value="clinic_id")
        private Long clinicId;
        /**
         * 设备类型
         *
         */
        @TableField(value="test_type")
        private Integer testType;
        /**
         * 订单号
         */
        @TableField(value = "order_no")
        private String orderNo;
        /**
         * 是否包含联机检测
         */
        @TableField(value = "is_uni")
        private Integer isUni;
        /**
         * 患者id
         */
        @TableField(value = "patient_id")
        private Long patientId;

        /**
         * 检测状态
         */
        @TableField(value = "status")
        private Integer status;

         /**
         * 预约码
         * 
         */
        @TableField(value="reservation_code")
        private Long reservationCode;
         /**
         * 患者姓名
         * 
         */
        @TableField(value="patient_name")
        private String patientName;
         /**
         * 检测项目
         * 
         */
        @TableField(value="test_item")
        private String testItem;
        /**
         * 检测项目code
         */
        @TableField(value = "test_item_code")
        private String testItemCode;
         /**
         * 支付时间
         * 
         */
        @TableField(value="pay_time")
        private LocalDateTime payTime;
         /**
         * 备注
         * 
         */
        @TableField(value="remark")
        private String remark;
    
}
